<template>
	<view id="look">
		<img :src="src" class="img" alt="">
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src:''
			};
		},
		onLoad(option) {
			if (option.url) {
				this.src = option.url;
			}
		}
	}
</script>

<style lang="scss">
  #look {
	  width: 100%;
	  height: 100%;
	  background-color: #38393b;
	  display: flex;
	  align-items:center;
	  .img {
		   width: 100%;
		   height: auto;
	  }
  }
</style>
